-
Notifications
You must be signed in to change notification settings - Fork 0
[TNT-273] DisplayText 정의 및 적용 #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
SeonJeongk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다요! 깔끔하니 좋네요👍
트레이니 화면들에도 적용해보겠습니다
| <string name="session_expired">세션이 만료되었어요</string> | ||
| <string name="session_expired_description">장시간 미사용으로 로그인 화면으로 이동해요</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
접두사로 core 붙이는거 좋습니다! 그럼 얘네도 core를 붙여야 하지 않을까용?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정 완료하였습니다!
SeonJeongk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생 많으셨습니다! 🙌
수정 사항이랑 궁금한 점 몇 가지 리뷰 남겨뒀습니다.
확인하시고 문제 없으면 바로 머지해주세요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
왁.. 진짜 고생하셨습니다🥹
| <string name="core_terms_of_service">서비스 이용약관</string> | ||
| <string name="core_privacy_policy">개인정보 처리방침</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
core 모듈의 문자열 리소스를 사용하지 않고 따로 추가해두신 이유가 있을까요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
얽 잘못 넣어뒀네요! 제거 완료하였습니다.!
| import co.kr.tnt.core.designsystem.R | ||
| import co.kr.tnt.core.designsystem.R.drawable.ic_close | ||
| import co.kr.tnt.core.designsystem.R.drawable.ic_image | ||
| import co.kr.tnt.core.designsystem.R.drawable.ic_overlay_close |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drawable을 개별 import로 쓰신 이유가 가독성 때문일까요?
앞으로 core 모듈의 문자열, 이미지 리소스들은 전부 개별 import 방식으로 통일해 사용하는 건지 궁금합니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[안드로이드 팀 합의]
ui > core모듈 내에 위치한 문자열 / 이미지 리소스 사용 시 개별import방식으로 사용하도록 협의- 모듈 내에 위치한
R을 사용할 때만R.string.~형태로 사용하도록 협의
📝 작업 내용
Closes [TNT-273] 텍스트 string resource 적용 #137
API단에서 내려주는 문자열과, 애플리케이션 자체적으로 제공하는 문자열 리소스 중 한 가지를 동적으로 선택하여 화면상으로 출력해야 하는 경우가 있습니다.
DisplayText를 구현하였습니다.📸 실행 화면
🙆🏻 리뷰 요청 사항
core하게 애플리케이션 전체에서 사용하는 문자열 리소스의 경우, 접두사에core를 붙이는거 어떻게 생각하시나요?alias를 통해coreR형태로 자주 사용했었는데, 일일이 붙여주는 것도 번거롭고 사람마다 다르게 붙일 여지가 있어보여요.👀 레퍼런스